import request from '@/utils/request'

// 查询月票续费记录列表
export function listParkTicketRenew(query) {
  return request({
    url: '/system/parkTicketRenew/list',
    method: 'get',
    params: query
  })
}

// 查询月票续费记录详细
export function getParkTicketRenew(id) {
  return request({
    url: '/system/parkTicketRenew/' + id,
    method: 'get'
  })
}

// 新增月票续费记录
export function addParkTicketRenew(data) {
  return request({
    url: '/system/parkTicketRenew',
    method: 'post',
    data: data
  })
}

// 修改月票续费记录
export function updateParkTicketRenew(data) {
  return request({
    url: '/system/parkTicketRenew',
    method: 'put',
    data: data
  })
}

// 删除月票续费记录
export function delParkTicketRenew(id) {
  return request({
    url: '/system/parkTicketRenew/' + id,
    method: 'delete'
  })
}

// 导出月票续费记录
export function exportParkTicketRenew(query) {
  return request({
    url: '/system/parkTicketRenew/export',
    method: 'get',
    params: query
  })
}